package commons.utils;

import org.eclipse.core.runtime.ISafeRunnable;

/**
 * An implementation of ISafeRunnable that does nothing. A convenience class, I
 * often use it in combination with a TaskTracker.
 * 
 * @author ted stockwell
 */
public class NullSafeRunnable implements ISafeRunnable {
    /*
     * (non-Javadoc)
     * 
     * @see org.eclipse.core.runtime.ISafeRunnable#run()
     */
    public void run() throws Exception {
	// do nothing
    }

    /*
     * (non-Javadoc)
     * 
     * @see
     * org.eclipse.core.runtime.ISafeRunnable#handleException(java.lang.Throwable
     * )
     */
    public void handleException(Throwable exception) {
	// do nothing
    }
}